import { BusinessError } from '@kit.BasicServicesKit'

let error = (msg: string, err: any) => {
  console.error(msg + `${(err as BusinessError).code}.${(err as BusinessError).message}`)
}

export const consoleUtils = { error }